package command.source;

/**
 * 客户端通过此类与命令交互
 * @author Chen Guang
 * @date 2019/4/22 0022 上午 10:16
 */
public class Invoker {

    private Command command;

    public void setCommand(Command command) {
        this.command = command;
    }

    public void executeCommand(){
        command.execute();
    }
}
